package com.rongshu.view.home.contract;

import com.rongshu.view.base.mvp.INetBean;
import com.rongshu.view.base.mvp.IView;
import com.rongshu.view.home.entity.ArticleAttribute;
import com.rongshu.view.home.entity.ArticleItem;
import com.rongshu.view.home.entity.ArticleLike;
import com.rongshu.view.home.entity.UserCollect;

public interface SingleArticleDetailsView extends IView{

    /**
     * 单个文章详情
     */
    void onOnePostDetail(ArticleItem articleItem);

    /**
     * 浏览
     */
    void onBrowseArticle(INetBean bean);

    /**
     * 获取我是否收藏
     */
    void onIsConcern(UserCollect userCollect);

    /**
     * 收藏/取消
     */
    void onIsCollect(INetBean iNetBean);


    /**
     * 获取文章属性
     *
     * @param attribute
     */
    void onArticleAttribute(ArticleAttribute attribute);

    /**
     * 文章点赞/帖子点赞
     */
    void onArticleLikeOrOffLike(ArticleLike articleLike, boolean isLike);
}
